package com.lj.mcore.service;

import com.lj.mcore.entity.Promo;
import com.lj.mcore.utils.PageBean;

import java.util.List;
import java.util.Map;

public interface IPromoService {
    public abstract boolean save(Promo obj);

    public abstract boolean delete(Promo obj);

    public abstract boolean update(Promo obj);

    public abstract Promo getObjById(Long id);

    public abstract Promo getSingleResult(Map<String,Object> map);

    public abstract List<Promo> query(String paramString, Map paramMap, int paramInt1, int paramInt2);

    public PageBean getList(int pageSize, int page, Map<String, String> query);
}
